﻿<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Sound Recorder" Height="114" Width="450" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}">

  <StackPanel Orientation="Vertical">

    <StackPanel Orientation="Horizontal">
      <Button Name="buttonSaveFile" Click="OnSave" Width="75" Height="26" HorizontalAlignment="Left" VerticalAlignment="Top">Select File</Button>
      <TextBox Name="textBoxFileInfo" Height="26" VerticalAlignment="Top"></TextBox>
    </StackPanel>

    <StackPanel Orientation="Horizontal">
      <Label Content="Samples Per Second:"/>
      <ComboBox Name="comboBoxRate"/>
      <Label Content="Bits Per Sample:"/>
      <ComboBox Name="comboBoxSize"/>
      <Label Content="Device:"/>
      <ComboBox Name="comboBoxDevice"/>
    </StackPanel>

    <StackPanel Orientation="Horizontal">
      <Button Name="buttonStartStop" Click="OnStartStop" Width="75" Height="26" HorizontalAlignment="Left" VerticalAlignment="Top">Start</Button>
      <TextBox x:Name="textBoxRecordInfo" Height="26" VerticalAlignment="Top"/>
    </StackPanel>

  </StackPanel>
</Window>
